package codecs;

import java.awt.Component;

import xml.XMLGenerator;

/**
 * Control to get data from the DifferenceCodec class
 * @author Daniel Mohr, Daniela Grammlich
 */
public class DifferenceCodecControl implements DifferenceCodecControlInterface{

	/**
	 * The binary image
	 */
	private int[][] binary;
	/**
	 * The xml generator to write the data in a xml file
	 */
	private XMLGenerator generator;
	
	@Override
	public Component getControlComponent() {
		return null;
	}

	@Override
	public int[][] getBinary() {
		return binary;
	}

	@Override
	public void setBinary(int[][] value) {
		binary = value;
	}

	@Override
	public XMLGenerator getXmlGenerator() {
		return generator;
	}
	@Override
	public void setXmlGenerator(XMLGenerator gen){
		generator = gen;
	}

}
